package com.kc.data.common.domain.goodsSku;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.data.annotation.Transient;


/**
 * 商品sku规格
 */
@Data
@TableName(value = "kc_goods_sku_specs")
public class BizGoodsSkuSpecs {
    /*主键id*/
    @TableId
    private Integer id;
    /*规格名称*/
    private String name;

    @Transient
    private String[] item;
    /*状态:1启用，0禁用*/
    private Integer status;
    /*商品id*/
    private Integer goodsId;
    public BizGoodsSkuSpecs(){}
    public BizGoodsSkuSpecs(String name, Integer status, Integer goodsId) {
        this.name = name;
        this.status = status;
        this.goodsId = goodsId;
    }
}
